<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Title</title>
    <link rel="stylesheet" href="../../fontawesome-5.15.4/css/all.min.css">
    <link rel="stylesheet" href="../../fontawesome-5.15.4/css/v4-shims.css">
</head>
<style>
    body {
        margin: 0;
        padding: 0;
    }

    a {
        text-decoration: none;
        color: #000;
    }

    .wbpro-side {
        width: 270px;
        border: 1px solid #bfa;
        margin: 50px 50px;
        padding: 10px 15px;
        box-sizing: border-box;
    }

    .wbpro-side-head {
        width: 100%;
        height: 40px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #f9f9f9;
        cursor: pointer;
    }

    .wbpro-side-head > span:first-child {
        flex-grow: 1;
        font-size: 16px;
        font-weight: bold;
    }

    .fa {
        margin-right: 10px;
    }

    .wbpro-side-head > span:last-child {
        font-size: 13px;
        color: #939393;

    }

    .wbpro-side-panel {
        height: 40px;
        /*background-color: #eee;*/
        border-bottom: 1px solid #f9f9f9;
        font-size: 12px;
        display: flex;
    }
    .wbpro-side-panel a{
        width: 100%;
        display: flex;
        align-items: center;
    }
    .wbpro-side-panel span:nth-child(1){
        font-size: 16px;
        font-weight: bold;
        color: #ff9406;
        margin-right: 10px;
    }
    .wbpro-side-panel span:nth-child(2){
        flex-grow: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .wbpro-side-panel span:nth-child(3){
        flex-shrink: 0;
        color: #939393;
        margin: 0 5px;
    }
    .wbpro-side-panel span:nth-child(4){
        background-color: #ff9406;
        color: #fff;
        border-radius: 3px;
        padding: 2px 4px;

    }

    .wbpro-side-panel:nth-child(-n+5) span:nth-child(1){
        color: red;
    }

</style>
<body>
<div class="wbpro-side">
    <div class="wbpro-side-head">
        <span>微博热搜</span>
        <i class="fa fa-refresh"></i>
        <span>点击刷新</span>
    </div>
    <div class="wbpro-side-panel">
        <a href="#">
            <span>1</span>
            <span>新的赶考之路考卷常出常新新的赶考之路考卷常出常新</span>
            <span>245万</span>
            <span>新</span>
        </a>
    </div>
    <div class="wbpro-side-panel">
        <a href="#">
            <span>1</span>
            <span>新的赶考之路考卷常出常新</span>
            <span>245万</span>
            <span>新</span>
        </a>
    </div>
    <div class="wbpro-side-panel">
        <a href="#">
            <span>1</span>
            <span>新的赶考之路考卷常出常新</span>
            <span>245万</span>
            <span>新</span>
        </a>
    </div>
    <div class="wbpro-side-panel">
        <a href="#">
            <span>1</span>
            <span>新的赶考之路考卷常出常新</span>
            <span>245万</span>
            <span>新</span>
        </a>
    </div>
    <div class="wbpro-side-panel">
        <a href="#">
            <span>1</span>
            <span>新的赶考之路考卷常出常新</span>
            <span>245万</span>
            <span>新</span>
        </a>
    </div>
</div>
</body>
</html>
